package com.lh.自己动手写RPC;

import java.net.InetSocketAddress;

/**
 * 作者：idea
 * 日期：2018/7/2
 * 描述：
 */
public class Client {
    public static void main(String[] args) {
        HelloService helloService=RPCClient.getRemoteProxyObj(HelloService.class,new InetSocketAddress("localhost",8088));
        System.out.println(helloService.sayHi("hhh"));
    }
}
